package cn.lhl.mvc;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by datou on 2017/3/15.
 */
public class ActionMapper {

    private Map<String,ActionMapping> actiomMappings=new HashMap<String, ActionMapping>();
    public ActionMapping getActionMapping(String key){
        return actiomMappings.get(key);
    }
    public void setActiomMapping(ActionMapping actiomMapping){
        actiomMappings.put(actiomMapping.getActionName(),actiomMapping);
    }
}
